package com.znsd.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 库存工作单表 库存工作单表
 * </p>
 *
 * @author Liuyl
 * @since 2019-10-16
 */
@TableName("ware_order_task")
public class WareOrderTask extends Model<WareOrderTask> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 订单编号
     */
    @TableField("order_id")
    private Long orderId;
    /**
     * 收货人
     */
    private String consignee;
    /**
     * 收货人电话
     */
    @TableField("consignee_tel")
    private String consigneeTel;
    /**
     * 送货地址
     */
    @TableField("delivery_address")
    private String deliveryAddress;
    /**
     * 订单备注
     */
    @TableField("order_comment")
    private String orderComment;
    /**
     * 付款方式 1:在线付款 2:货到付款
     */
    @TableField("payment_way")
    private String paymentWay;
    @TableField("task_status")
    private String taskStatus;
    /**
     * 订单描述
     */
    @TableField("order_body")
    private String orderBody;
    /**
     * 物流单号
     */
    @TableField("tracking_no")
    private String trackingNo;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 仓库编号
     */
    @TableField("ware_id")
    private Long wareId;
    /**
     * 工作单备注
     */
    @TableField("task_comment")
    private String taskComment;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getConsigneeTel() {
        return consigneeTel;
    }

    public void setConsigneeTel(String consigneeTel) {
        this.consigneeTel = consigneeTel;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public String getOrderComment() {
        return orderComment;
    }

    public void setOrderComment(String orderComment) {
        this.orderComment = orderComment;
    }

    public String getPaymentWay() {
        return paymentWay;
    }

    public void setPaymentWay(String paymentWay) {
        this.paymentWay = paymentWay;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getOrderBody() {
        return orderBody;
    }

    public void setOrderBody(String orderBody) {
        this.orderBody = orderBody;
    }

    public String getTrackingNo() {
        return trackingNo;
    }

    public void setTrackingNo(String trackingNo) {
        this.trackingNo = trackingNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getWareId() {
        return wareId;
    }

    public void setWareId(Long wareId) {
        this.wareId = wareId;
    }

    public String getTaskComment() {
        return taskComment;
    }

    public void setTaskComment(String taskComment) {
        this.taskComment = taskComment;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WareOrderTask{" +
        "id=" + id +
        ", orderId=" + orderId +
        ", consignee=" + consignee +
        ", consigneeTel=" + consigneeTel +
        ", deliveryAddress=" + deliveryAddress +
        ", orderComment=" + orderComment +
        ", paymentWay=" + paymentWay +
        ", taskStatus=" + taskStatus +
        ", orderBody=" + orderBody +
        ", trackingNo=" + trackingNo +
        ", createTime=" + createTime +
        ", wareId=" + wareId +
        ", taskComment=" + taskComment +
        "}";
    }
}
